package com.miqt.plugin.inject.compile;

import com.miqt.asm.method_hook.Logger;

public class FileLog implements Log {
    Logger logger;

    public FileLog(Logger logger) {
        this.logger = logger;
    }

    @Override
    public void debug(String str) {
        logger.log(str);
    }

    @Override
    public void error(String str) {
        logger.log(str);
    }

    @Override
    public void error(String str, Throwable th) {
        logger.log(str);
    }

    @Override
    public void info(String str) {
        logger.log(str);
    }

    @Override
    public void warning(String str) {
        logger.log(str);
    }

    @Override
    public void warning(String str, Throwable th) {
        logger.log(th);
    }
}
